package net.hn.hnms.biz.project.domain;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author 刘昊
 * @date 2024-03-13 13:43
 * 质量报告
 */
@Data
@NoArgsConstructor
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper=false)
@Table(name = "quality_report", schema = "xmgl", catalog = "huaneng-manage")
public class QualityReport extends BaseModel implements Serializable {

    @ApiModelProperty(value = "id")
    @TableId(type = IdType.ASSIGN_UUID)
    private String qualityReportId;

    @ApiModelProperty(value = "项目id")
    private String projectId;

    @ApiModelProperty(value = "项目名称")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String projectName;

    @ApiModelProperty(value = "报告名称")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String reportName;

    @ApiModelProperty(value = "报告类型")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String reportType;

    @ApiModelProperty(value = "施工单位")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String constructionUnit;

    @ApiModelProperty(value = "备注")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String remark;

    @ApiModelProperty(value = "公司编码")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String companyCode;
}
